package com.bamboo.pistorage.factory;

import com.bamboo.model.enums.COSBucketEnum;

/**
* @description 获取cos客户端的抽象工厂
* @date 2025/3/27 下午2:52
* @author chenzh
*/
public abstract class AbstractCOSClientFactory<T> {
    /**
     * @description 获取cos客户端
     * @date 2025/3/27 下午2:53
     * @author chenzh
     * @return T
     */
    public abstract T getCOSClient(COSBucketEnum bucketEnum);

    /**
     * @description 获取匿名客户端
     * @date 2025/3/27 下午2:54
     * @author chenzh
     * @return T
     */
    abstract T getAnonymousCOSClient(COSBucketEnum bucketEnum);
}
